﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Snowdreamist.Collection.Tree
{
    public interface ITreeNodeIterator<T> : IEnumerable<T> where T : ITreeNode<T>
    {
    }

    public enum DeepFirstTraverseMode
    {
        Preorder,
        Inorder,
        Postorder
    }

    public interface ITreeNodeDeepFirstTraverseIterator<T> : ITreeNodeIterator<T> where T : ITreeNode<T>
    {
        DeepFirstTraverseMode Mode { get; }
    }
}